package com.wl.org.service;

import com.wl.basic.service.BaseService;
import com.wl.basic.util.PageList;
import com.wl.org.domain.Department;
import com.wl.org.query.DepartmentQuery;

import java.util.List;
public interface DepartmentService extends BaseService<Department> {
   /* *//**
     * 保存一个对象
     * @param department
     *//*
    void save(Department department);

    *//**
     * 移除一个对象
     * @param id
     *//*
    void remove(Long id);

    *//**
     * 更新一个对象
     * @param department
     *//*
    void update(Department department);

    *//**
     * 加载一个对象
     * @param id
     * @return
     *//*
    Department loadById(Long id);

    *//**
     * 加载所有对象
     * @return
     *//*
    List<Department> loadAll();

    *//**
     * 分页
     * @param departmentQuery
     * @return
     *//*
    PageList<Department> queryPage(DepartmentQuery departmentQuery);

    *//**
     * 批量删除
     * @param ids
     *//*
    void removeA(List<Long> ids);*/

    /**
     * //无限极树
     * @return
     */
    /**
     *
     * @param
     * @return
     */
   /* PageList<Department> queryPage(DepartmentQuery departmentQuery);*/

    List<Department> deptTree();
}
